<?php

//主数据库，默认连接该数据库
$cfg['db'] = array(
	'params'   => array('driver'=> 'mysql', 'host'=> '127.0.0.1', 'name'=> 'sbnnestdb', 'user'=> 'root', 'password'=> '',),
	'options'  => array('persistent'=> false, 'tablePrefix' => '','charset'=>'utf8'),
	);	

//主数据库，默认连接该数据库
$cfg['db_w'] = array('driver'=> 'mysql', 'host'=> '127.0.0.1', 'name'=> 'sbnnestdb', 'user'=> 'root','password'=> '');

// User表
$cfg['db_User_r'] = array('driver'=> 'mysql', 'host'=> '127.0.0.1', 'name'=> 'Sailing', 'user'=> 'root','password'=> 'root');
$cfg['db_User_w'] = array('driver'=> 'mysql', 'host'=> '127.0.0.1', 'name'=> 'Sailing', 'user'=> 'root','password'=> 'root');

?>